package com.jake.springboot.order.strategy;

import com.jake.springboot.order.annotation.OrderTypeAnnotation;
import com.jake.springboot.order.constant.OrderTypeEnum;
import com.jake.springboot.order.dto.OrderDTO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
@OrderTypeAnnotation(orderType = OrderTypeEnum.CARPOOL)
public class CarPoolOrderStrategy implements AbstractStrategy {

    @Override
    public void process(OrderDTO orderDTO) {
        log.info("取消拼车订单");
    }

}
